import request from '@/utils/request'

// 净灌溉用水总量分析汇总表(小型)
const dowIrrigationTotalMin = function (params = {}) {
  return request({
    url: `/zy-api/api/irrigationAreaTotal/dowIrrigationTotalMin`,
    method: 'post',
    data: params,
    // url: `/zy-api/fileCommon/create`,
    // method: 'get',
    // params,
    responseType: 'arraybuffer'
  })
}

// 净灌溉用水总量分析汇总表(中型)
const dowIrrigationTotalMax = function (params = {}) {
  return request({
    url: `/zy-api/api/irrigationAreaTotal/dowIrrigationTotalMax`,
    method: 'post',
    data: params,
    // url: `/zy-api/fileCommon/create`,
    // method: 'get',
    // params,
    responseType: 'arraybuffer'
  })
}

export {
  dowIrrigationTotalMin,
  dowIrrigationTotalMax
}